home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / games / vga / mqbe11.arj / MQBE11.DOC next >
Text File  |  1992-10-29  |  22KB  |  712 lines

  1.  
  2.  
  3.  
  4.             MQBE (V1.1):  A Shareware Program <ASP>
  5.  
  6.  
  7.  
  8.  
  9.                          MAGIC CUBE
  10.  
  11.              (C) 1992,  P. K. Winter, Toronto, Ont.
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                      TABLE OF CONTENTS
  21.  
  22.  
  23.      [1]    MQBE:  OVERVIEW  . . . . . .  page  2
  24.  
  25.      [2]    SHAREWARE  . . . . . . . . . . . .  3
  26.  
  27.      [3]    DISCLAIMER AND AGREEMENT . . . . .  4
  28.  
  29.      [4]    FILES  . . . . . . . . . . . . . .  5
  30.  
  31.      [5]    REQUIREMENTS . . . . . . . . . . .  5
  32.  
  33.      [6]    PLAYING  MQBE  . . . . . . . . . .  6
  34.  
  35.      [7]    NOTES ON THE MAGIC CUBE  . . . . .  7
  36.  
  37.      [8]    BIBLIOGRAPHY . . . . . . . . . . . 11
  38.  
  39.      [9]    MAINTENANCE LOG  . . . . . . . . . 12
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.      [1]   MQBE:  OVERVIEW
  47.  
  48.      MQBE is a puzzle based on Professor Ernö Rubik's Magic Cube (called
  49.      Büvös Kocka in Hungarian), the 20th century's most amazing puzzle.
  50.      In the late 70s and early 80s the Cube became a world-wide fad.
  51.      While fads come and go, for some of us the Magic Cube remains as
  52.      fascinating as ever.  After all, there are not too many puzzles
  53.      that offer  43,252,003,274,489,856,000  patterns.  To have seen all
  54.      possible patterns, if you could have viewed 1,000 patterns every
  55.      second, you would have had to start when the universe was born.
  56.  
  57.      Each of the six surfaces of the cube  (Top: BLUE,  Bottom: WHITE,
  58.      Front: ORANGE,  Back: RED,  Left: GREEN,  Right: YELLOW) are made
  59.      up of nine squares.  The central square on each surface can never
  60.      change its position, but all of the other squares can be rearranged
  61.      as slices of the cube are rotated clockwise or counterclockwise.
  62.      When the slices are rotated, the colors on the cube's surfaces are
  63.      scrambled, reset, or pretty patterns can be created.  The primary
  64.      purpose of the puzzle is this: given a random pattern, find the
  65.      minimum number of rotations that will restore the colors to their
  66.      original pristine positions.
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.      -------------------------------------------------------------------
  98.      (C) 1992,  P.K. Winter, Toronto, Ont.                          2
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.      [2]   SHAREWARE
  110.  
  111.      Shareware distribution gives users a chance to try software before
  112.      buying it.  If you try a Shareware program and continue using it,
  113.      you are expected to register. Individual programs differ on details
  114.      -- some request registration while others require it, some specify
  115.      a maximum trial period.  With registration, you get anything from
  116.      the simple right to continue using the software to an updated
  117.      program with printed manual.
  118.  
  119.      Copyright laws apply to both Shareware and commercial software, and
  120.      the copyright holder retains all rights, with a few specific
  121.      exceptions as stated below.  Shareware authors are accomplished
  122.      programmers, just like commercial authors, and the programs are of
  123.      comparable quality. (In both cases, there are good programs and bad
  124.      ones!)  The main difference is in the method of distribution. The
  125.      author specifically grants the right to copy and distribute the
  126.      software, either to all and sundry or to a specific group. For
  127.      example, some authors require written permission before a
  128.      commercial disk vendor may copy their Shareware.
  129.  
  130.      Shareware is a distribution method, not a type of software. You
  131.      should find software that suits your needs and pocketbook, whether
  132.      it's commercial or Shareware.  The Shareware system makes fitting
  133.      your needs easier, because you can try before you buy.  And because
  134.      the overhead is low, prices are low also.  Shareware has the
  135.      ultimate money-back guarantee -- if you don't use the product, you
  136.      don't pay for it.
  137.  
  138.      "This program is produced by a member of the Association of
  139.      Shareware Professionals (ASP).  ASP wants to make sure that the
  140.      shareware principle works for you.  If you are unable to resolve a
  141.      shareware-related problem with an ASP member by contacting the
  142.      member directly, ASP may be able to help.  The ASP Ombudsmen can
  143.      help you resolve a dispute or problem with the an ASP member, but
  144.      does not provide technical support for members' products.  Please
  145.      write to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442
  146.      or send a CompuServe message via CompuServe Mail to ASP Ombudsman
  147.      70007,3536."
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.      -------------------------------------------------------------------
  159.      (C) 1992,  P.K. Winter, Toronto, Ont.                          3
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.      [3]   DISCLAIMER AND AGREEMENT
  171.  
  172.      MQBE  program and associated documentation, on hardcopy and on
  173.      magnetic media, is copyrighted and the author, P.K. Winter,
  174.      reserves all rights.  MQBE  software and associated documentation
  175.      are provided without warranty of any kind, either expressed or
  176.      implied.  The author specifically disclaims any implied warranties
  177.      of merchantability or fitness of the software and documentation for
  178.      any particular purpose.  In no event will the author be liable for
  179.      any damages, including any lost profits, lost savings, or other
  180.      incidental or consequential damages arising out of the use or the
  181.      inability to use this software.  The author reserves the right to
  182.      make any changes in the software and in this documentation at any
  183.      time without obligation to notify anyone of such changes.
  184.  
  185.      MQBE  is a "shareware program" and is provided at no charge to the
  186.      user for evaluation.  Feel free to share it with friends, but
  187.      please do not give it away altered or as part of another system.
  188.      The essence of "user-supported" software is to provide personal
  189.      computer users with quality software without high prices, and yet
  190.      to provide incentive for programmers to continue to develop new
  191.      products.  If you find this program useful, entertaining, or
  192.      educational and continue to use MQBE after a reasonable trial
  193.      period, please submit a registration fee of  $8.00  to the author.
  194.  
  195.      Commercial or institutional users of MQBE must register and pay for
  196.      their copies of MQBE within 30 days of first use.  The Site-License
  197.      fee for educational institutions is $15.00.  For any other Site-
  198.      License arrangement, please contact the author at the address given
  199.      below.
  200.  
  201.      Anyone distributing  MQBE for any kind of remuneration must first
  202.      contact the author at the address below for authorization.  This
  203.      authorization will be automatically granted to distributors
  204.      recognized by the Association of Shareware Professionals (ASP) as
  205.      adhering to its guidelines for shareware distributors, and such
  206.      distributors may begin offering  MQBE immediately, however the
  207.      author must be advised so that the distributor can be kept up-to-
  208.      date with the latest version of MQBE.
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.      -------------------------------------------------------------------
  220.      (C) 1992,  P.K. Winter, Toronto, Ont.                          4
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.      You are encouraged to pass a copy of MQBE to your friends for
  230.      evaluation.  Please encourage them to register their copy if they
  231.      find that they can use it.  All registered users will receive a
  232.      copy of the latest, "registered" version of  MQBE  with
  233.      notification of updates.
  234.  
  235.      Please submit your registration fee, questions, or comments to:
  236.  
  237.                                                      P. K. Winter
  238.                                                69 Summerhill Ave.
  239.                                            Toronto, Ont., M4T 1A9
  240.  
  241.                                            CompuServe  71213,1337
  242.  
  243.  
  244.  
  245.  
  246.      [4]    FILES
  247.  
  248.      Version 1.1 of MQBE is distributed with the following
  249.  
  250.      MQBE11.EXE          the executable program
  251.      MQBE11.DOC          this documentation file
  252.      READ.EXE            utility for browsing ASCII text files:
  253.                          READ filename
  254.  
  255.      If you wish to share MQBE by any means - on diskettes or through
  256.      BBSs or in ZIP compressed form - please do not alter any of the
  257.      above files and keep all listed files together.  Don't share
  258.      registered copies.
  259.  
  260.  
  261.  
  262.      [5]    REQUIREMENTS
  263.  
  264.      To run MQBE you will need a 386SX or 486 based PS/2 or PC
  265.      compatible micro computer with a VGA color graphics adaptor and a
  266.      mouse.
  267.  
  268.      MQBE was written in Turbo Pascal (V6.0) under DOS 5.0 on a 486
  269.      machine.  It requires a VGA Multifrequency display that supports
  270.      display mode Hex'12' (16 color, 640x480 resolution).  MQBE V1.1
  271.      uses a Timer ISR.  The 'old' timer interrupt is restored on exit
  272.      from MQBE.
  273.  
  274.      MQBE appears to run without problems under Windows 3.0 and Windows
  275.      3.1 but Windows is not my target environment and thus there are no
  276.      guarantees ...   There is a definite performance advantage in using
  277.      a true 486 machine with the math co-processor.
  278.  
  279.  
  280.  
  281.  
  282.      -------------------------------------------------------------------
  283.      (C) 1992,  P.K. Winter, Toronto, Ont.                          5
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.      [6]    PLAYING  MQBE
  293.  
  294.      As indicated in Section [5], you need a VGA color monitor and a
  295.      mouse in order to play MQBE.
  296.  
  297.      CONTROLS
  298.      The command bar at the top of the display screen provides five
  299.      gray-shaded control buttons.  With the mouse, move the arrow-shaped
  300.      cursor onto the desired control button and click with  either the
  301.      left or right mouse button to activate the control.
  302.  
  303.      The available controls are:
  304.  
  305.           QUIT      ends the program and returns you to
  306.                     the DOS prompt
  307.  
  308.           RESET     resets the magic cube to solid colors
  309.                     on all six surfaces, the START position
  310.                     of the cube
  311.  
  312.           UNDO      allows you to reverse the previous
  313.                     move;  you may continue to reverse
  314.                     moves until you reach either the
  315.                     START position or the original
  316.                     SCRAMBLE position;  in either case
  317.                     you can continue to undo moves until
  318.                     the counter reaches zero
  319.  
  320.           SOUND     toggles the sound ON and OFF
  321.  
  322.           SCRAMBLE  does a random number of rotations on
  323.                     the cube, thus creating random
  324.                     patterns on the surfaces of the
  325.                     cube
  326.  
  327.      To rotate any one of the six faces of the cube, click on any one of
  328.      the center squares in the 3-D representations of the cube.
  329.  
  330.      A click with the LEFT button rotates the selected surface of the
  331.      cube COUNTERCLOCKWISE.  A click with the RIGHT button rotates the
  332.      selected surface CLOCKWISE.
  333.  
  334.      The rotation is always relative to the central square on the
  335.      surface selected as you were facing that surface.
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.      -------------------------------------------------------------------
  344.      (C) 1992,  P.K. Winter, Toronto, Ont.                          6
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.      GAMES PEOPLE PLAY
  354.      The most obvious challenge of MQBE is to have the cube scrambled
  355.      and then see how many moves (rotations) or how much time it takes
  356.      to reset the cube.  Another form of amusement is to create pretty
  357.      patterns.
  358.  
  359.      Since the invention of the Magic Cube, mathematicians have been
  360.      intrigued with such questions as
  361.  
  362.           "Given a scrambled position, what is the minimum number
  363.           of moves required to restore the cube to the Start
  364.           position?"
  365.                                and
  366.  
  367.           "What are the best subgroups of rotations to achieve a
  368.           certain pattern?"
  369.  
  370.      Teachers of group theory find the Magic Cube valuable for
  371.      demonstrating ideas such as non-commutativity, commutator
  372.      subgroups, transitivity, etc.
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.      [7]    NOTES ON THE MAGIC CUBE
  381.  
  382.      Professor E. Rubik is a sculptor, architect and designer at the
  383.      School of Commercial Artists in Budapest, Hungary.  The idea of the
  384.      magic cube first occurred to him in 1974.  While many people had
  385.      serious doubts that it was possible to construct and manufacture
  386.      the type of mechanism required by the magic cube, Rubik filed a
  387.      patent application in 1975.  The first commercial production of
  388.      Rubik's Cube (TM) reached the streets of Budapest in 1977.  In one
  389.      of Rubik's articles, published in June, 1979, he jokingly predicted
  390.      that the magic cube would become a global fad.  Without advertising
  391.      or publicity campaigns, Rubik sold 1 million cubes in 1980 in
  392.      Hungary, where the population is less than 10 million people.  By
  393.      1981 Rubik's prediction of a global fad was more than fulfilled as
  394.      the production and distribution of the Magic Cube, now produced in
  395.      the Far East, simply exploded.
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.      -------------------------------------------------------------------
  405.      (C) 1992,  P.K. Winter, Toronto, Ont.                          7
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.      The Magic Cube won recognition and awards everywhere:
  415.  
  416.  
  417.           -    Toy of the year in 1980 (England)
  418.  
  419.           -    Rubik's Cube (TM) - a new entry in the Oxford
  420.                English Dictionary
  421.  
  422.           -    on display in the Museum of Modern Art in New York
  423.  
  424.           -    cover article by Douglas Hofstadter in Scientific
  425.                American (May, 1981)
  426.  
  427.      It's almost impossible to estimate how many Magic Cubes were sold
  428.      globally.  But, alas, in 1992 it's no longer easy to find the cube
  429.      in stores.  It has retreated to its roots:  the world of academics,
  430.      mathematicians, physicists, nerds, and eccentric puzzle collectors.
  431.  
  432.      What remains perplexing about the Magic Cube is its enormous
  433.      popular appeal in the early 80s when so few people could actually
  434.      solve the puzzle.
  435.  
  436.      In Rubik's book, "A Büvös Kocka" (Budapest, 1981), David
  437.      Singmaster's introduction offers the following explanation of the
  438.      Magic Cube's appeal:
  439.  
  440.  
  441.      -    the cube's pieces remain joined during rotations
  442.  
  443.      -    with a single rotation several components are relocated
  444.  
  445.      -    elements of the cube can assume various orientations in the
  446.           same position
  447.  
  448.      -    it is a 3-D puzzle
  449.  
  450.      -    it is a cube(!)
  451.  
  452.      -    the cube is aesthetically pleasing
  453.  
  454.      -    the invisible mechanism of the cube is intriguing
  455.  
  456.      -    the cube's universe reveals mind-boggling complexity of
  457.           transformations and a staggering number of possible patterns
  458.  
  459.      -    academics, especially in the field of group theory and
  460.           combinatorics, see mathematical beauty in the cube
  461.  
  462.      -    educators see pedagogical value in the cube
  463.  
  464.  
  465.      -------------------------------------------------------------------
  466.      (C) 1992,  P.K. Winter, Toronto, Ont.                          8
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.      The Magic Cube is a difficult puzzle.  At one stage Rubik was
  476.      flooded with mail from fans wanting hints or "the solution".  Rubik
  477.      admits with delightful charm and candor that from the outset he had
  478.      a heck of a time resetting the cube and that he was never able to
  479.      work out a general solution.  Others have done so; see the
  480.      Bibliography for references.  Educators and psychologists have
  481.      wondered for some time what unusual attribute of the mind allows
  482.      some pre-teen children to re-set the cube in a few minutes.  How
  483.      does a twelve year old child, after a quick inspection of the
  484.      scrambled cube,  reset the cube while blindfolded?  In one case
  485.      (see Rubik's book) the twelve-year-old said "my fingers remember
  486.      what to do".  A concert pianist might find this a perfectly natural
  487.      explanation.
  488.  
  489.      With the obvious physical and tactile appeal of the Magic Cube and
  490.      with its intriguing mechanism, why would anyone want a computer
  491.      version of the Cube?
  492.  
  493.      Early in 1992 a mathematician friend of mine observed that he was
  494.      interested in but was unable to find a Magic Cube program on the
  495.      major BBSs or in computer stores.  I decided to fill the void and
  496.      write this program for fun.  The program was first released in
  497.      April, 1992 under the name TheCube (V1.0).  Shortly after that
  498.      release, I received a number of calls from Cube enthusiasts and
  499.      puzzle lovers to the effect that they were delighted with TheCube
  500.      program because they had been unable to find a 3-D, color version
  501.      of the Magic Cube.  Clearly, playing with the physical Magic Cube
  502.      is a very different experience from using MQBE.  What are the
  503.      possible compensations for using the software version of this
  504.      puzzle?  Here are some
  505.  
  506.      -    the cube can be reset instantaneously - an impossibility with
  507.           the physical object
  508.  
  509.      -    an almost unlimited number of moves can be reversed
  510.  
  511.      -    there is a timer and move counter
  512.  
  513.      -    there is a 2-D, spread-out version of the cube which provides
  514.           additional visual information about each rotation
  515.  
  516.      -    the 3-D version on the screen allows one to view all six sides
  517.           simultaneously without risk of losing the orientation
  518.  
  519.      -    the software version of the Magic Cube makes experimentation
  520.           more convenient
  521.  
  522.  
  523.  
  524.  
  525.  
  526.      -------------------------------------------------------------------
  527.      (C) 1992,  P.K. Winter, Toronto, Ont.                          9
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.      Over the last decade many puzzles, card games, board games,
  541.      strategy games and games of luck have been ported to the PC.
  542.      Educators and people interested in various media may come to study
  543.      how the computer games are different and how the reactions,
  544.      exploring behavior, and strategies of players are modified when
  545.      playing the computer version of a game.  Computer games may
  546.      represent a clear enrichment of the original idea.  Conversely, a
  547.      programmed version of a game may not be an enrichment of the
  548.      original game but, because of the new medium and powerful controls,
  549.      may be a basically different game.  As computers become more and
  550.      more important in the information age, and as they become
  551.      commodities that blend into our cultural fabric, computer games
  552.      will be exploited and explored systematically as a rich ground of
  553.      information for parents, educators, psychologists and media experts
  554.      of all philosophical stripes.  MQBE is a modest contribution to
  555.      this end.
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.      -------------------------------------------------------------------
  588.      (C) 1992,  P.K. Winter, Toronto, Ont.                          10
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.      [8]    BIBLIOGRAPHY
  598.  
  599.      A Büvös Kocka,
  600.                   E. Rubik,  Budapest, 1981
  601.  
  602.      A race to conquer the Cube
  603.                   N. Bauer,  The Boston Globe, Jul 26 1981
  604.  
  605.      Der Würfel "Rubiks Cube"
  606.                   J. Trajber,  Falken Verlag, 1981
  607.  
  608.      Hungarian Cube puzzle has cornered the market
  609.                   W.J. Mitchell,  The Detroit Free Press,  Mar 15 1981
  610.  
  611.      Mastering Rubik's Cube,
  612.                   D. Taylor,  Holt, Rinehart and Winston, 1980
  613.  
  614.      Quixotic quest - Cubed
  615.                   L. Penix,  The Cincinnati Post,  Mar 13 1981
  616.  
  617.      Rubik's Cube city's latest rage
  618.                   T. Blackman,  The Gazette, Montreal, Dec 4 1980
  619.  
  620.      Rubik's Cube: Madness for Millions
  621.                   F. Warshofsky,  Reader's Digest,  May 1981
  622.  
  623.      Strategie zur Lösung
  624.                   K. Endl,  Würfel Verlag GmbH, 1980
  625.  
  626.      The Craze for Cubes
  627.                   B. Sicock,  The Sunday Times,  Mar 15 1981
  628.  
  629.      The Magic Cube's cubies ...,
  630.                   D.R. Hofstadter,  Scientific American, May 1981
  631.  
  632.      The Secret of Rubik's Cube
  633.                   G. Tucker,  The Light - San Antonio,  Feb 25 1981
  634.  
  635.      The Simple Solution to Rubik's Cube
  636.                   J.G. Nourse,  Bantam Books, 1981
  637.  
  638.      Trying to Solve Rubik's Cube
  639.                   M. Muro,  The Boston Globe,  Jul 25 1981
  640.  
  641.      Turn for the Worse: Simple Little Puzzle Drives Millions Mad
  642.                   G. Bronson,  The Wall Street Journal,  Mar 5 1981
  643.  
  644.      You Can Do The Cube,
  645.                   P. Bossert,  Penguin Books, 1981
  646.  
  647.  
  648.      -------------------------------------------------------------------
  649.      (C) 1992,  P.K. Winter, Toronto, Ont.                          11
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.      [9]    MAINTENANCE LOG
  663.  
  664.      V1.0 (Apr/92)  First released to CRS BBS and PCanada BBS
  665.                     under the name  TheCube.ZIP
  666.  
  667.      V1.1 (Oct/92)  First release as Shareware under the name
  668.                     MQBE11.ZIP
  669.  
  670.           -    improved the speed of the SCRAMBLE routine
  671.  
  672.           -    added a clock ISR
  673.  
  674.           -    displays Unregistered Copy on message line;  this
  675.                is the only difference between registered and
  676.                unregistered versions of MQBE11
  677.  
  678.  
  679.  
  680.  
  681.  
  682.      Please send your registration fee of $8.00, questions, comments,
  683.      and suggestions to
  684.  
  685.                                                       P. K. Winter
  686.                                                 69 Summerhill Ave.
  687.                                             Toronto, Ont., M4T 1A9
  688.  
  689.                                             CompuServe  71213,1337
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.      -------------------------------------------------------------------
  710.      (C) 1992,  P.K. Winter, Toronto, Ont.                          12
  711.  
  712.